package com.weihj.entity;

import java.util.Date;
import javax.persistence.*;

public class Top {
    /**
     * ID
     */
    @Id
    @Column(name = "top_id")
    private Long topId;

    /**
     * 是否置顶
     */
    @Column(name = "is_top")
    private Boolean isTop;

    /**
     * 置顶记录id
     */
    @Column(name = "feedback_id")
    private Long feedbackId;

    @Column(name = "creation_time")
    private Date creationTime;

    @Column(name = "creator_user_id")
    private String creatorUserId;

    @Column(name = "deleter_user_id")
    private String deleterUserId;

    @Column(name = "deletion_time")
    private Date deletionTime;

    @Column(name = "last_modification_time")
    private Date lastModificationTime;

    @Column(name = "last_modifier_user_id")
    private String lastModifierUserId;

    @Column(name = "is_deleted")
    private Boolean isDeleted;

    /**
     * 设置置顶的人的id
     */
    @Column(name = "top_user")
    private String topUser;

    /**
     * 获取ID
     *
     * @return top_id - ID
     */
    public Long getTopId() {
        return topId;
    }

    /**
     * 设置ID
     *
     * @param topId ID
     */
    public void setTopId(Long topId) {
        this.topId = topId;
    }

    /**
     * 获取是否置顶
     *
     * @return is_top - 是否置顶
     */
    public Boolean getIsTop() {
        return isTop;
    }

    /**
     * 设置是否置顶
     *
     * @param isTop 是否置顶
     */
    public void setIsTop(Boolean isTop) {
        this.isTop = isTop;
    }

    /**
     * 获取置顶记录id
     *
     * @return feedback_id - 置顶记录id
     */
    public Long getFeedbackId() {
        return feedbackId;
    }

    /**
     * 设置置顶记录id
     *
     * @param feedbackId 置顶记录id
     */
    public void setFeedbackId(Long feedbackId) {
        this.feedbackId = feedbackId;
    }

    /**
     * @return creation_time
     */
    public Date getCreationTime() {
        return creationTime;
    }

    /**
     * @param creationTime
     */
    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    /**
     * @return creator_user_id
     */
    public String getCreatorUserId() {
        return creatorUserId;
    }

    /**
     * @param creatorUserId
     */
    public void setCreatorUserId(String creatorUserId) {
        this.creatorUserId = creatorUserId;
    }

    /**
     * @return deleter_user_id
     */
    public String getDeleterUserId() {
        return deleterUserId;
    }

    /**
     * @param deleterUserId
     */
    public void setDeleterUserId(String deleterUserId) {
        this.deleterUserId = deleterUserId;
    }

    /**
     * @return deletion_time
     */
    public Date getDeletionTime() {
        return deletionTime;
    }

    /**
     * @param deletionTime
     */
    public void setDeletionTime(Date deletionTime) {
        this.deletionTime = deletionTime;
    }

    /**
     * @return last_modification_time
     */
    public Date getLastModificationTime() {
        return lastModificationTime;
    }

    /**
     * @param lastModificationTime
     */
    public void setLastModificationTime(Date lastModificationTime) {
        this.lastModificationTime = lastModificationTime;
    }

    /**
     * @return last_modifier_user_id
     */
    public String getLastModifierUserId() {
        return lastModifierUserId;
    }

    /**
     * @param lastModifierUserId
     */
    public void setLastModifierUserId(String lastModifierUserId) {
        this.lastModifierUserId = lastModifierUserId;
    }

    /**
     * @return is_deleted
     */
    public Boolean getIsDeleted() {
        return isDeleted;
    }

    /**
     * @param isDeleted
     */
    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    /**
     * 获取设置置顶的人的id
     *
     * @return top_user - 设置置顶的人的id
     */
    public String getTopUser() {
        return topUser;
    }

    /**
     * 设置设置置顶的人的id
     *
     * @param topUser 设置置顶的人的id
     */
    public void setTopUser(String topUser) {
        this.topUser = topUser;
    }
}